<%--
  Created by IntelliJ IDEA.
  User: TianyuChen
  Date: 2020/3/21
  Time: 22:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
    <head>
        <title>insPicture</title>
        <base href="<%=basePath%>">
    </head>
    <body>
        <h1>上传广告图片</h1><br />
        <form action="upload" enctype="multipart/form-data" method="post">
            选择广告图片：<input type="file" name="file"/><br />
            <input type="submit" value="提交"/>
        </form>

        <h1>查看广告图片</h1><br />
        <form action="show" method="get">
            <input type="submit" value="查看"/>
        </form>
    </body>
</html>
